import Layout from '@/page/index/'

export default [
    {
        path: '/wel',
        component: Layout,
        redirect: '/loading',
        children: [
            {
                path: 'index',
                name: '首页',
                meta: {
                    i18n: 'dashboard'
                },
                component: () =>
                    import( /* webpackChunkName: "views" */ '@/views/wel/index')
            },
            {
                path: "/micro-lowcode/*",
                name: '子应用',
                component: () => import( /* webpackChunkName: "page" */ '@/views/micro-lowcode/micro-lowcode.vue'),
            },
            {
                path: "/micro-workflow/*",
                name: '流程设计',
                component: () => import( /* webpackChunkName: "page" */ '@/views/micro-workflow/micro-workflow.vue'),
            },
            {
                path: "/micro-form-editor/*",
                name: '表单设计',
                component: () => import( /* webpackChunkName: "page" */ '@/views/micro-form-editor/micro-form-editor.vue'),
            },
            {
                path: "/micro-old-workflow/*",
                name: '流程设计',
                component: () => import( /* webpackChunkName: "page" */ '@/views/micro-old-workflow/micro-old-workflow.vue'),
            },
        ]
    },
    {
        path: '/loading',
        name: '加载中……',
        component: () =>
            import( /* webpackChunkName: "views" */ '@/page/index/loading.vue')
    }, {
        path: '/info',
        component: Layout,
        redirect: '/info/index',
        children: [{
            path: 'index',
            name: '个人信息',
            meta: {
                i18n: 'info'
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
        }]
    }]
